<template>
    <div>
        <div class="head-img">
            <img src="../../assets/error.png"/>
        </div>
        <div class="msg">
            {{errormsg}}
        </div>
    </div>
</template>

<script>
export default {
  name: 'allerror',
  data () {
    return {
      errormsg: '未知错误'
    }
  },
  mounted () {
    this.errormsg = this.$route.params.msg
  }
}
</script>

<style scoped lang="scss">
.head-img{
    text-align: center;
    margin-top: 40%;
}
.msg{
    text-align: center;
    color: #383838;
    margin-top: 10px;
    font-size: 14px;
}
</style>
